<template>
  <div>
      <p>
          账号：<input type="text">
      </p>
       <p>
          密码：<input type="text">
      </p>
      <p>
          <button @click="login">
              {{ title }}
          </button>
      </p>
  </div>
</template>

<script>
import axios from 'axios'
export default {
    props: {
        url: {
            type: String
        },
        title: {
            type: String
        }
    },
    methods: {
        login() {
            console.log('我请求的接口是--' + this.url)
        }
    }
}
</script>

<style>

</style>